* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 300px;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  /* border: 2px solid #03a9f4;
  border-radius: 0.5em; */
  font-size: 16px;
}

.login-box > .title {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: cursive;
  font-style: oblique;
  font-size: 40px;
  color: #03a9f4;
}

.login-box > .user-name,
.login-box > .password {
  position: relative;
  width: 100%;
}

.login-box > .user-name > .user-name-input,
.login-box > .password > .password-input {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px;
  margin-bottom: 25px;
  border: 1px solid #03a9f4;
  border-radius: 5px;
  line-height: 20px;
  -webkit-appearance: none;
  color: #777;
  font-size: 16px;
  font-weight: 400;
}

.login-box > .user-name > .user-name-input.is-active,
.login-box > .password > .password-input.is-active {
  border-color: rgba(255, 0, 0, 0.5);
}

.login-box > .user-name > img,
.login-box > .password > img {
  position: absolute;
  top: 13px;
  display: block;
  width: 20px;
  height: 20px;
}

.login-box > .user-name > img:hover,
.login-box > .password > img:hover {
  cursor: pointer;
}

.login-box > .user-name > .clear-user-name,
.login-box > .password > .hide-password,
.login-box > .password > .show-password {
  right: 12px;
}
.login-box > .password > .clear-password {
  right: 40px;
}

.login-box > .btn {
  margin-bottom: 25px;
  padding: 12px;
  line-height: 20px;
  font-size: 16px;
  width: 100%;
  display: block;
  outline: 0;
  border: none;
  border-radius: 3px;
  background-color: #3DA8F5;
  color: #FFF;
  cursor: pointer;
}

.login-box > .btn:hover {
  border: 1px solid yellow;
}

